package com.example.springmvcproject.Utils;

import lombok.AllArgsConstructor;
import lombok.Getter;


@AllArgsConstructor
@Getter
public enum ResultCode {

    RESULT_OK(0,200),
    RESULT_NULL(1,401),
    RESULT_PARAMS(2,400),
    RESULT_LOGIN(3,401),
    RESULT_ROLE(4,403),
    RESULT_METHOD(5,405),
    RESULT_EXCEPTION(5,500)
    ;

    private Integer code;
    private Integer status;




}
